<extend name="Index/info"/>

<block name="title">新闻中心</block>
<block name="body">
    <form method="post" action="" id="listform">
        <div class="panel admin-panel">
            <div class="panel-head"><strong class="icon-reorder"> 内容列表</strong> <a href="" style="float:right; display:none;">添加字段</a></div>
            <div class="padding border-bottom">
                <ul class="search" style="padding-left:10px;">
                    <li>搜索：</li>
                    <li>
                        <input type="text" placeholder="请输入搜索关键字" name="keywords" class="input" style="width:250px; line-height:17px;display:inline-block" />
                        <a href="javascript:void(0)" class="button border-main icon-search" onclick="changesearch()" > 搜索</a>
                    </li>
                </ul>
            </div>
            <table class="table table-hover text-center">
                <tr>
                    <th width="100" style="text-align:left; padding-left:20px;">ID</th>
                    <th >上传人</th>
                    <th width="10%">文件名</th>
                    <th>图片</th>
                    <th>文件</th>
                    <th>分类</th>
                    <th>状态</th>
                    <th width="10%">上传时间</th>
                    <th width="310">操作</th>
                </tr>
<volist name="allFile" id="val">
                    <tr>
                        <td style="text-align:left; padding-left:20px;"><input type="checkbox" name="id[]" value="" />
                            {$val.file_id}</td>
                        <td>{$val.nickname}</td>
                        <td>{$val.name}</td>
                        <td width="10%"><img src="__PUBLIC__/{$val.file_img_url}" alt="" width="70" height="50" /></td>
                        <td><a href="{:U('AuditData/download',array('id'=>$val['file_id']))}">查看</a></td>
                        <td><font color="#00CC99">
                            <empty name="val.category_name">
                                无
                                <else />
                                {$val.category_name}
                            </empty>
                        </font>
                        </td>
                        <td>
                            <empty name="val.auditor">
                               未审核
                                <else />
                                通过审核
                            </empty>


                        </td>
                        <td>{$val.create_time|date='Y-m-d',###}</td>
                        <td>
                            <div class="button-group">
                                <a class="button border-main" href="{:U('AuditData/edit',array('id'=>$val['file_id']))}"><span class="icon-edit"></span> 修改</a>
                                <a class="button border-red" href="javascript:void(0)"><span class="icon-trash-o"></span> 删除</a>
                            </div>
                        </td>
                    </tr>
                </volist>

                    <tr>
                        <td style="text-align:left; padding:19px 0;padding-left:20px;"><input type="checkbox" id="checkall"/>
                            全选 </td>
                        <td colspan="7" style="text-align:left;padding-left:20px;"><a href="javascript:void(0)" class="button border-red icon-trash-o" style="padding:5px 15px;" onclick="DelSelect()"> 删除</a> <a href="javascript:void(0)" style="padding:5px 15px; margin:0 10px;" class="button border-blue icon-edit" onclick="sorts()"> 排序</a> 操作：

                            <select name="isvouch" style="padding:5px 15px; border:1px solid #ddd;" onchange="changeisvouch(this)">
                                <option value="">推荐</option>
                                <option value="1">是</option>
                                <option value="0">否</option>
                            </select>

                            <select name="isvouch" style="padding:5px 15px; border:1px solid #ddd;" onchange="changeisvouch(this)">
                                <option value="">状态</option>
                                <option value="1">通过审核</option>
                                <option value="0">未审核</option>
                            </select>

                            &nbsp;&nbsp;&nbsp;

                            移动到：
                            <select name="movecid" style="padding:5px 15px; border:1px solid #ddd;" onchange="changecate(this)">
                                <option value="">请选择分类</option>
                                <option value="">产品分类</option>
                                <option value="">产品分类</option>
                                <option value="">产品分类</option>
                                <option value="">产品分类</option>
                            </select>

                    </tr>
                    <tr>
                        <td colspan="8"><div class="pagelist"> <a href="">上一页</a> <span class="current">1</span><a href="">2</a><a href="">3</a><a href="">下一页</a><a href="">尾页</a> </div></td>
                    </tr>
            </table>
        </div>
    </form>

    <script>
        
       
        
        
    </script>
    
    
</block>